Structuring Concurrent Applications Using Active Expressions
نویسندگان
چکیده
The paper presents the concept of Active Expressions and describes a model, called A e , for structuring concurrent applications. Relying solely on the features of an object oriented language, A e allows deenition of common communication and synchronization patterns. These patterns are then combined with the user provided application code to instantiate complete concurrent applications. The approach has two novel aspects: First, it demonstrates that common patterns of concurrency can be expressed using language provided facilities. Second, the model can be implemented without requiring any complex user-interfaces, preprocessing stages or language extensions. Finally, the use of the pattern based approach for developing concurrent applications is illustrated via an example. The model has been implemented using C++/Unix on shared-memory as well as distributed memory based platforms.
منابع مشابه
Coordination of massively concurrent activities
Massively parallel and distributed systems open new horizons for large applications and present new challenges for software technology. Many applications already take advantage of the increased raw computational power provided by such parallel systems to yield significantly shorter turnaround times. However, the availability of so many processors to work on a single application presents a new c...
متن کاملThe IWIM Model for Coordination of Concurrent Activities
Exploiting the full potential of massively parallel systems requires programming models that explicitly deal with the concurrency of cooperation among very large numbers of active entities that comprise a single application. In practice, the concurrent applications of today essentially use a set of ad hoc templates to coordinate the cooperation of their active components. This shows the lack of...
متن کاملStructuring a Compiler with Active Objects
We present a concurrent compiler for Active Oberon built itself with active objects. We describe the experience made on parallelizing the Oberon compiler, in particular explaining how concurrency and synchronization are achieved by using active objects, and showing how we achieved ensured deadlock freedom. Based on the implementation, we discuss why we consider active objects beneficial for the...
متن کاملAction-Oriented Exception Handling in Cooperative and Competitive Concurrent Object-Oriented Systems
The chief aim of this survey is to discuss exception handling models which have been developed for concurrent object systems. In conducting this discussion we rely on the following fundamental principles: exception handling should be associated with structuring techniques; concurrent systems require exception handling which is different from that used in sequential systems; concurrent systems a...
متن کاملRole Playing in Concurrent Programming as a Way of Developing Active Learning
1 Osvaldo Clúa, Facultad de Ingeniería, Universidad de Buenos Aires, Buenos Aires, Argentina, [email protected] 2 María Feldgen, Facultad de Ingeniería, Universidad de Buenos Aires, Buenos Aires, Argentina, [email protected] Abstract Concurrent programming is not only a programming paradigm, but a powerful structuring tool for applications that are logically comprised of asynchronous components....
متن کامل